SGGetChannelBounds
TheSGGetChannelBounds
function allows you to determine a channel's display boundary rectangle.
pascal ComponentResult SGGetChannelBounds (SGChannel c, Rect *bounds);
c
- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannel
function, described on page 5-29.bounds
- Contains a pointer to a rectangle structure that is to receive information about the channel's display boundary rectangle. This rectangle is defined in the graphics world that you establish when you call the
SGSetGWorld
function.DESCRIPTION
You set the boundary rectangle by calling theSGSetChannelBounds
function, which is described in the previous section. This rectangle is defined in the graphics world that you establish by calling theSGSetGWorld
function, described on page 5-27.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help